<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改</title>
</head>
<body>
<form th:action="@{/etc/update}" method="post">
    <input type="hidden" name="id" th:value="${etc.id}">
    车牌号：<input type="text" name="carId" th:value="${etc.carId}"/><br/>
    ETC卡号：<input type="text" name="etcId" th:value="${etc.etcId}"/><br/>
    余额：<input type="number" name="money" th:value="${etc.money}"/><br/>
    用户名：<input type="text" name="userName" readonly="readonly" th:value="${etc.userName}"/><br/>
    使用年限：<input type="number" name="lateYear" th:value="${etc.lateYear}"/><br/>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>